<template>
  <div class="Cancellation">
    <div class="Cancellation-form">
        <div class="header">
          <h3>取消订单</h3>
          <a href="javascript:;" class="header-one">
            <i class="iconfont icon-close"></i>
          </a>
        </div>
        <div class="middle">
          <p class="middle-one">取消订单后，本单享有的优惠可能会一并取消，是否继续？</p>
          <p class="middle-two">请选择取消订单的原因（必选）：</p>
        </div>
        <div class="content">
          <a href="javascript:;" class="content-one">配送信息有误</a>
          <a href="javascript:;" class="content-one">商品买错了</a>
          <a href="javascript:;" class="content-one">重复下单/误下单</a>
          <a href="javascript:;" class="content-one">忘记使用优惠券、兔币等</a>
          <a href="javascript:;" class="content-one">其他渠道价格更低</a>
          <a href="javascript:;" class="content-one">不想买了</a>
        </div>
        <div class="footer">
          <button class="footer-can">取消</button>
          <button class="footer-con">确认</button>
        </div>
    </div>
  </div>
</template>

<script setup lang="ts">

</script>

<style scoped lang="less">
.Cancellation {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  transition: all .4s;
  background: rgba(0,0,0,.5);
}
.Cancellation-form {
  width: 620px;
  height: 486px;
  background: #fff;
  border-radius: 4px;
  position: absolute;
  z-index: 9999;
  transition: all .4s;
  transform: translate(-50%,-50%);
  top: 50%;
  left: 50%;
}
.header {
  width: 620px;
  height: 70px;
  padding: 0px 20px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f5f5f5;
  h3 {
    line-height: 70px;
    color: #333;
    font-size: 18px;
    font-weight: 400;
  }
  .header-one {
    text-decoration: none;
    i {
      font-size: 24px;
      color: #999;
      
    }
  }
}
.middle {
  width: 620px;
  padding: 15px 40px;
  font-size: 16px;
  .middle-one {
    line-height: 35px;
    color: #333;
  }
  .middle-two {
    color: #999;
    line-height: 35px;
  }
}
.content {
  width: 580px;
  height: 216px;
  padding-top: 21px;
  padding-left: 40px;
  .content-one {
    display: inline-block;
    width: 256px;
    height: 45px;
    line-height: 45px;
    color: #666;
    font-size: 16px;
    border: 1px solid #e4e4e4;
    text-decoration: none;
    text-align: center;
    margin: 0px 14px 20px 0px;
    box-sizing: border-box;
    &:hover {
    border: 1px solid #27BA9B;
    background-color: #E3F9F4;
    }
  }
}
.footer {
  margin-top: 25px;
  text-align: center;
  .footer-can {
    width: 180px;
    height: 50px;
    background-color: #ccc;
    text-align: center;
    line-height: 50px;
    border: none;
    border-radius: 4px;
    color: #fff;
  }
  .footer-con {
    margin-left: 20px;
    width: 180px;
    height: 50px;
    background-color: #27BA9B;
    text-align: center;
    line-height: 50px;
    border-radius: 4px;
    border: none;
    color: #fff;
  }
}
</style>
